home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 4
/
Aminet 4 - November 1994.iso
/
aminet
/
comm
/
term
/
term41source.lha
/
Extras
/
Source
/
gtlayout-Source.lha
/
SMakefile
< prev
Wrap
Makefile
|
1994-09-08
|
763b
|
28 lines
.c.o:
SC $(CFLAGS) $(OPTIMIZE) CPU=ANY DEFINE=CPU_$(CPU) OBJNAME=$*.o $*.c
.asm.o:
ASM -DCPU_$(CPU) -u -IASM: $*.asm
CFLAGS = MCCONS STREQ NOSTKCHK IDLEN=65 NOVER MEMSIZE=HUGE UTILLIB
LFLAGS = DEFINE __CXM33=__UCXM33 DEFINE __CXD33=__UCXD33 \
DEFINE __CXM22=__UCXM22 DEFINE __CXD22=__UCXD22 \
SC SD ND NOICONS
OPTIMIZE = OPTIMIZE NOOPTINLOCAL OPTTIME
CPU = ANY
#CPU = 68030
LIBS = LIB:amiga.lib LIB:sc.lib
all: gtlayout.library
OBJS = RomTag.o LibCode.o gtlayout.o
gtlayout.library: $(OBJS)
SLINK FROM $(OBJS) TO $@ LIB $(LIBS) $(LFLAGS)
RomTag.o: RomTag.asm gtlayout.library_rev.i
gtlayout.o: gtlayout.c gtlayout.h
SC DEFINE=LIB_CODE CODE=FAR NMINC MCCONS STREQ NOVER NOSTKCHK MEMSIZE=HUGE $(OPTIMIZE) CPU=$(CPU) UTILLIB gtlayout.c